import { WeaTools } from 'ecCom';

// 座位布局基础数据
export const getBaseSetDatas = params => {
  return WeaTools.callApi('/api/meeting/seatset/getSeatSetBaseData', 'POST', params);
};

// 添加会议布局类型form
export const getSeatLayoutTypeAddData = params => {
  return WeaTools.callApi('/api/meeting/seatset/getSeatLayoutTypeAddData', 'POST', params);
};

// 保存会议布局类型
export const addSeatLayoutType = params => {
  return WeaTools.callApi('/api/meeting/seatset/addSeatLayoutType', 'POST', params);
};

// 保存座位布局设置
export const saveSeatSetBaseData = params => {
  return WeaTools.callApi('/api/meeting/seatset/saveSeatSetBaseData', 'POST', params);
};

// 保存座位布局设置
export const getSeatInfo = params => {
  return WeaTools.callApi('/api/meeting/seat/getSeatInfo', 'POST', params);
};

// 保存座位布局设置_前台
export const saveSeatInfo = params => {
  return WeaTools.callApi('/api/meeting/seat/saveSeatInfo', 'POST', params);
};

// 保存并通知from
export const getSave_notice = params => {
  return WeaTools.callApi('/api/meeting/seat/getRemindType', 'POST', params);
};

// 保存通知方式
export const sendSeatMsg = params => {
  return WeaTools.callApi('/api/meeting/seat/sendSeatMsg', 'POST', params);
};

// 更新座位布局
export const delMeetingSeat = params => {
  return WeaTools.callApi('/api/meeting/seat/delMeetingSeat', 'POST', params);
};

// 判断是否显示排座信息tab页
export const getSeatTabStatus = params => {
  return WeaTools.callApi('/api/meeting/seat/getSeatTabStatus', 'POST', params);
};
